﻿package com.obas.business.taskexecution.service
{
	import com.obas.business.taskexecution.vo.TestPlanObject;
	import com.obas.flex.common.proxy.DefaultServiceProxy;

	public class TaskExecutionManagementService extends DefaultServiceProxy
	{
    	private static const SERVICE_NAME:String = "taskExecutionManagementService";

  		public function TaskExecutionManagementService() {
     		super(SERVICE_NAME);
  		}

		/**
    */
		public function 
			/* flex: com.obas.model.business.TestPlan */ 
			/* java: com.obas.model.business.TestPlan */
		createTestPlan(
 			testPlanObject:com.obas.business.taskexecution.vo.TestPlanObject  /* com.obas.business.taskexecution.vo.TestPlanObject */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("createTestPlan", [testPlanObject], callback, context);
 		}

		/**
    */
		public function 
			/* flex: mx.collections.ArrayCollection */ 
			/* java: java.util.List */
		listSystemFunctionObject(
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("listSystemFunctionObject", [], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		runTestPlan(
 			pageId:String  /* java.lang.String */,
 			id:Number  /* long */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("runTestPlan", [pageId, id], callback, context);
 		}
	}
}